﻿using Abp.AutoMapper;
using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Items.VO
{
    /// <summary>
    /// 砍价商品
    /// </summary>
    [AutoMapFrom(typeof(ItemBargain))]
    public class UserItemBarginVO:Entity<long>
    {
        /// <summary>
        /// 商品id
        /// </summary>
        public long ItemId { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string Picture { get; set; }

        /// <summary>
        /// 原价
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 已达到的砍价价格
        /// </summary>
        public decimal ActualBargainPrice { get; set; }

        /// <summary>
        /// 砍价结束
        /// </summary>
        public bool IsOver { get; set; }

    }
}
